package com.ld.model;

import com.ld.mybatis.GeoPoint;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiDong
 * @since 2020-02-19
 */
@Table(name = "t_geo_test")
public class TGeoTest implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;

    private String name;

    @Column
    private BigDecimal[] shape;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal[] getShape() {
        return shape;
    }

    public void setShape(BigDecimal[] shape) {
        this.shape = shape;
    }

    @Override
    public String toString() {
        return "TGeoTest{" +
        "id=" + id +
        ", name=" + name +
        ", shape=" + shape +
        "}";
    }
}
